<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<input id='auditflag' type='hidden' value='${param.auditflag}'>
<div class="t_bar">本申请所附材料清单</div>
<table id="prpContent_upload" label="附件" border="0" cellspacing="0" width="100%"
	cellpadding="0" class="table01 t_css"
	style="*border-bottom: #a1c0dc 1px solid;">
	<thead>
		<tr>
			<th width="8%">序号</th>
			<th width="30%">附件名称</th>
			<th width="7%">是否必备材料</th>
			<c:if test="${param.auditflag=='edit'}">
			   <th nowrap width="8%">是否符合条件</th>
			   <th nowrap width="25%">上次上传附件</th>
			</c:if>
			<th width="25%">下载</th>
		</tr>
	</thead>
	<tbody>
		<tr>
		    <td style="text-align:center" ><span name="content/seq0">1</span></td>
            <td><span name='content/name0'><x:out select="$xmlData/data/content/name0" /></span></td>
            <td style="text-align:center"><span name="content/berif0"><x:out select="$xmlData/data/content/berif0" /></span></td>
            <c:if test="${param.auditflag=='edit'}">
		    <td style="text-align:center">
		        <input type="checkbox" class="do " id="reqattach_0"
	                   style="vertical-align: middle;" name="reqattach" value="0" />
		    </td>
		    <td style="text-align:center">
		        <c:set var="file_code_his0"><x:out select="$xmlData/data/content/file_code_his0" /></c:set>
		        <span name="file_code_his0" style="display:none"><x:out select="$xmlData/data/content/file_code_his0" /></span>
		        <c:if test="${file_code_his0!=''}" >
		            <a id="content_downLoadFile0" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his0" />" 
	                   class="link_x" >
	                   <span name="content/file_name_his0"><x:out select="$xmlData/data/content/file_name_his0" /></span>
	                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date0"><x:out select="$xmlData/data/content/file_date_his0" /></span>) 
		       </c:if>&nbsp;
		    </td>
		    </c:if>  
		    <td>
		        <c:set var="file_code0"><x:out select="$xmlData/data/content/file_code0" /></c:set>
		        <span name="file_code0" style="display:none"><x:out select="$xmlData/data/content/file_code0" /></span>
		        <c:if test="${file_code0!=''}" >
		            <a id="content_downLoadFile0" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code0" />" 
	                   class="link_x" >
	                   <span name="content/file_name0"><x:out select="$xmlData/data/content/file_name0" /></span>
	                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date0"><x:out select="$xmlData/data/content/file_date0" /></span>) 
		       </c:if>&nbsp;
                     </td>
		   
		</tr>
			<tr>
		    <td style="text-align:center" ><span name="content/seq1">2</span></td>
            <td><span name='content/name1'><x:out select="$xmlData/data/content/name1" /></span></td>
            <td style="text-align:center"><span name="content/berif1"><x:out select="$xmlData/data/content/berif1" /></span></td>
            <c:if test="${param.auditflag=='edit'}">
		    <td style="text-align:center">
		        <input type="checkbox" class="do " id="reqattach_1"
	                   style="vertical-align: middle;" name="reqattach" value="1" />
		    </td>
		    <td style="text-align:center">
		        <c:set var="file_code_his1"><x:out select="$xmlData/data/content/file_code_his1" /></c:set>
		        <span name="file_code_his1" style="display:none"><x:out select="$xmlData/data/content/file_code_his1" /></span>
		        <c:if test="${file_code_his1!=''}" >
		            <a id="content_downLoadFile1" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his1" />" 
	                   class="link_x" >
	                   <span name="content/file_name_his1"><x:out select="$xmlData/data/content/file_name_his1" /></span>
	                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date1"><x:out select="$xmlData/data/content/file_date_his1" /></span>) 
		       </c:if>&nbsp;
		    </td>
		    </c:if>  
		    <td>
		        <c:set var="file_code1"><x:out select="$xmlData/data/content/file_code1" /></c:set>
		        <span name="file_code1" style="display:none"><x:out select="$xmlData/data/content/file_code1" /></span>
		        <c:if test="${file_code1!=''}" >
		            <a id="content_downLoadFile1" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code1" />" 
	                   class="link_x" >
	                   <span name="content/file_name1"><x:out select="$xmlData/data/content/file_name1" /></span>
	                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date1"><x:out select="$xmlData/data/content/file_date1" /></span>) 
		       </c:if>&nbsp;
                     </td>
		    
		</tr>
		<tr>
		    <td style="text-align:center" ><span name="content/seq2">3</span></td>
            <td><span name='content/name2'><x:out select="$xmlData/data/content/name2" /></span></td>
            <td style="text-align:center"><span name="content/berif2"><x:out select="$xmlData/data/content/berif2" /></span></td>
            <c:if test="${param.auditflag=='edit'}">
		    <td style="text-align:center">
		        <input type="checkbox" class="do " id="reqattach_2"
	                   style="vertical-align: middle;" name="reqattach" value="2" />
		    </td>
		    <td style="text-align:center">
		        <c:set var="file_code_his2"><x:out select="$xmlData/data/content/file_code_his2" /></c:set>
		        <span name="file_code_his2" style="display:none"><x:out select="$xmlData/data/content/file_code_his2" /></span>
		        <c:if test="${file_code_his2!=''}" >
		            <a id="content_downLoadFile2" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his2" />" 
	                   class="link_x" >
	                   <span name="content/file_name_his2"><x:out select="$xmlData/data/content/file_name_his2" /></span>
	                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date2"><x:out select="$xmlData/data/content/file_date_his2" /></span>) 
		       </c:if>&nbsp;
		    </td>
		    </c:if>  
		    <td>
		        <c:set var="file_code2"><x:out select="$xmlData/data/content/file_code2" /></c:set>
		        <span name="file_code2" style="display:none"><x:out select="$xmlData/data/content/file_code2" /></span>
		        <c:if test="${file_code2!=''}" >
		            <a id="content_downLoadFile2" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code2" />" 
	                   class="link_x" >
	                   <span name="content/file_name2"><x:out select="$xmlData/data/content/file_name2" /></span>
	                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date2"><x:out select="$xmlData/data/content/file_date2" /></span>) 
		       </c:if>&nbsp;
                     </td>
		    
		</tr>
		<tr>
		    <td style="text-align:center" ><span name="content/seq3">4</span></td>
            <td><span name='content/name3'><x:out select="$xmlData/data/content/name3" /></span></td>
            <td style="text-align:center"><span name="content/berif3"><x:out select="$xmlData/data/content/berif3" /></span></td>
            <c:if test="${param.auditflag=='edit'}">
		    <td style="text-align:center">
		        <input type="checkbox" class="do " id="reqattach_3"
	                   style="vertical-align: middle;" name="reqattach" value="3" />
		    </td>
		    <td style="text-align:center">
		        <c:set var="file_code_his3"><x:out select="$xmlData/data/content/file_code_his3" /></c:set>
		        <span name="file_code_his3" style="display:none"><x:out select="$xmlData/data/content/file_code_his3" /></span>
		        <c:if test="${file_code_his3!=''}" >
		            <a id="content_downLoadFile3" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his3" />" 
	                   class="link_x" >
	                   <span name="content/file_name_his3"><x:out select="$xmlData/data/content/file_name_his3" /></span>
	                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date3"><x:out select="$xmlData/data/content/file_date_his3" /></span>) 
		       </c:if>&nbsp;
		    </td>
		    </c:if>  
		    <td>
		        <c:set var="file_code3"><x:out select="$xmlData/data/content/file_code3" /></c:set>
		        <span name="file_code3" style="display:none"><x:out select="$xmlData/data/content/file_code3" /></span>
		        <c:if test="${file_code3!=''}" >
		            <a id="content_downLoadFile3" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code3" />" 
	                   class="link_x" >
	                   <span name="content/file_name3"><x:out select="$xmlData/data/content/file_name3" /></span>
	                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date3"><x:out select="$xmlData/data/content/file_date3" /></span>) 
		       </c:if>&nbsp;
                     </td>
		    
		</tr>
		<tr>
		    <td style="text-align:center" ><span name="content/seq4">5</span></td>
            <td><span name='content/name4'>相关费用和证明材料，申请<strong>改制费用补助</strong>或<strong>上市辅导费用补助</strong>或<strong>赴境外上市</strong>三者之一的请依据操作规程（系统首页申报业务列表中下载）说明提供文件。</span></td>
            <td style="text-align:center"><span name="content/berif4"><x:out select="$xmlData/data/content/berif4" /></span></td>
            <c:if test="${param.auditflag=='edit'}">
		    <td style="text-align:center">
		        <input type="checkbox" class="do " id="reqattach_4"
	                   style="vertical-align: middle;" name="reqattach" value="4" />
		    </td>
		    <td style="text-align:center">
		        <c:set var="file_code_his4"><x:out select="$xmlData/data/content/file_code_his4" /></c:set>
		        <span name="file_code_his4" style="display:none"><x:out select="$xmlData/data/content/file_code_his4" /></span>
		        <c:if test="${file_code_his4!=''}" >
		            <a id="content_downLoadFile4" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his4" />" 
	                   class="link_x" >
	                   <span name="content/file_name_his4"><x:out select="$xmlData/data/content/file_name_his4" /></span>
	                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date4"><x:out select="$xmlData/data/content/file_date_his4" /></span>) 
		       </c:if>&nbsp;
		    </td>
		    </c:if>  
		    <td>
		        <c:set var="file_code4"><x:out select="$xmlData/data/content/file_code4" /></c:set>
		        <span name="file_code4" style="display:none"><x:out select="$xmlData/data/content/file_code4" /></span>
		        <c:if test="${file_code4!=''}" >
		            <a id="content_downLoadFile4" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code4" />" 
	                   class="link_x" >
	                   <span name="content/file_name4"><x:out select="$xmlData/data/content/file_name4" /></span>
	                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date4"><x:out select="$xmlData/data/content/file_date4" /></span>) 
		       </c:if>&nbsp;
                     </td>
		    
		</tr>
		<tr>
		    <td style="text-align:center" ><span name="content/seq5">6</span></td>
            <td><span name='content/name5'><x:out select="$xmlData/data/content/name5" /></span></td>
            <td style="text-align:center"><span name="content/berif5"><x:out select="$xmlData/data/content/berif5" /></span></td>
            <c:if test="${param.auditflag=='edit'}">
		    <td style="text-align:center">
		        <input type="checkbox" class="do " id="reqattach_5"
	                   style="vertical-align: middle;" name="reqattach" value="5" />
		    </td>
		    <td style="text-align:center">
		        <c:set var="file_code_his5"><x:out select="$xmlData/data/content/file_code_his5" /></c:set>
		        <span name="file_code_his5" style="display:none"><x:out select="$xmlData/data/content/file_code_his5" /></span>
		        <c:if test="${file_code_his5!=''}" >
		            <a id="content_downLoadFile5" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his5" />" 
	                   class="link_x" >
	                   <span name="content/file_name_his5"><x:out select="$xmlData/data/content/file_name_his5" /></span>
	                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date5"><x:out select="$xmlData/data/content/file_date_his5" /></span>) 
		       </c:if>&nbsp;
		    </td>
		    </c:if>  
		    <td>
		        <c:set var="file_code5"><x:out select="$xmlData/data/content/file_code5" /></c:set>
		        <span name="file_code5" style="display:none"><x:out select="$xmlData/data/content/file_code5" /></span>
		        <c:if test="${file_code5!=''}" >
		            <a id="content_downLoadFile5" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code5" />" 
	                   class="link_x" >
	                   <span name="content/file_name5"><x:out select="$xmlData/data/content/file_name5" /></span>
	                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date5"><x:out select="$xmlData/data/content/file_date5" /></span>) 
		       </c:if>&nbsp;
                     </td>
		    
		</tr>
	</tbody>
</table>
<br/>
<script type="text/javascript">
	$(function() {
		initAttachMessage('prpContent_upload','','');
		if($('#auditflag').val()=='edit')
		hiddenAttach('prpContent_upload');
	});
</script>